<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<!--博客归档-->
<div th:fragment="archive-sidebar" class="side-box">
	<h3>文章归档</h3>
	<div class="box-body">
		<ul>
			<li th:each="date:${listPublishDates}">
				<a href="">
					<th:block  th:text="${date.publishDate}"></th:block>
					<em th:text="${date.publishTotal}"></em>
				</a>
			</li>
		</ul>
	</div>
</div>
<!--博客分类-->
<div th:fragment="classify-sidebar" class="side-box">
	<h3>文章分类</h3>
	<div class="box-body">
		<ul>
			<li th:each="type:${blogTypes}">
				<a th:href="'/blog/'+${type.id}+'/1'" th:text="${type.typeName}"></a>
			</li>
		</ul>
	</div>
</div>

<div th:fragment="post-count-info(blog)">
	<li>
		<i class="layui-icon layui-icon-star"></i>
		<span>22</span>
	</li>
	<li>
		<i class="layui-icon layui-icon-dialogue"></i>
		<span th:text="${blog.commentCount==null?'0':blog.commentCount}">666</span>
	</li>
	<li>
		<i class="layui-icon iconfont ali-icon-chakan"></i>
		<span th:text="${blog.clickCount}">999</span>
	</li>
</div>
</html>